Virtual Memory(6)

您所在的位置:网站首页 distributed virtual memory Virtual Memory(6)

Virtual Memory(6)

2023-08-01 14:02| 来源: 网络整理| 查看: 265

External fragmentation is much more difficult to quantify than internal frag- mentation because it depends not only on the pattern of previous requests and the allocator implementation, but also on the pattern of future requests.

For example, suppose that after k requests all of the free blocks are exactly four words in size. Does this heap suffer from external fragmentation?

The answer depends on the pattern of future requests.

If all of the future allocate requests are for blocks that are smaller than or equal to four words, then there is no external fragmentation. On the other hand, if one or more requests ask for blocks larger than four words, then the heap does suffer from external fragmentation. 



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3